<?php

namespace app\agent\controller;

use app\models\{Order as Orders, Region, Agent as Agents, Riderlist, RiderStreet};
use think\Db;
use think\facade\Debug;
use think\Facade\Config as Configs;
use app\facade\Redis;


class Main extends Base
{

    public function welcome()
    {
        if ($this->request->isAjax()) {
            
        } else {
            $name = 'getadminweclome';
            $list = [];
            return view(null, [
                'data' => $list
            ]);
        }
    }

    public function index()
    {
        $agent = $this->request->agent;
        return view(null, [
            'agent' => $agent
        ]);
    }


    public function miss()
    {
        return view('404');
    }

    public function miss2()
    {
        return view('500');
    }
}
